import axios from "@/utils/axiosUtils"
import {IUser} from "@/interfaces/userInterfaces"

export const findAllUser = ()=>{
    return axios.get("/users/getAccountList2")
}
export const loginApi = (data:IUser)=>{
    const temp = "username=mrbird&password=1234qwer"
    return axios.post("/login",temp)
}
export const getMenusApi = (username:string)=>{
    return axios.get(`/menu/${username}`)
}

